<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ include file="/common/taglibs.jsp"%>
<style type="text/css">
.selectWidth1 {
	width: 152px;
}
</style>
<x:parse xml="${param.xmlstr}" var="xmlData" />
<table class="table01 t_css" width="100%" border="0" cellpadding="0" id="prpknowledge"
	cellspacing="1">
	<tr>
		<td colspan="8" class="t_bar"><span>单位机构拥有知识产权状况: （单位：件）</span></td>
	</tr>
	<tr>
		<th rowspan="2" width="30%">&nbsp;</th>
		<th rowspan="2">专利申请总数</th>
		<th rowspan="2">专利授权总数</th>
		<th colspan="2">发明</th>
		<th colspan="2">实用新型</th>
		<th rowspan="2">软件版权</th>
	</tr>
	<tr>
	    <th>申请</th>
		<th>授权</th>
		<th>申请</th>
		<th>授权</th>
	</tr>
	<tr>
	    <td align="center">
		           单位
		</td>
		<td align="center">
		    <input name="knowledge/orgkr_request_total" id="orgkr_request_total" type="text" 
		    class=" input_text maxlength:20 gray" style="text-align:right;width:100px" disabled
		    value="<x:out select="$xmlData/data/knowledge/orgkr_request_total" />"   
		    onfocus="InitInput.setNumber(this,10,0,0)"/>
		</td>
		<td align="center">
		    <input name="knowledge/orgkr_auth_total" id="orgkr_auth_total" type="text" 
		    class=" input_text maxlength:20 gray" style="text-align:right;width:100px" disabled
		    value="<x:out select="$xmlData/data/knowledge/orgkr_auth_total" />"   
		    onfocus="InitInput.setNumber(this,10,0,0)"/>
		</td>
		<td align="center">
		    <input name="knowledge/orgkr_request_invent" id="orgkr_request_invent" type="text"
		    class=" input_text maxlength:20 valueCompare:otherkr_request_invent:orgkr_request_invent" style="text-align:right;width:100px" 
		    value="<x:out select="$xmlData/data/knowledge/orgkr_request_invent" />"  
		    onfocus="InitInput.setNumber(this,10,0,0)" label="单位的发明申请总数"
		    onchange="countNum('orgkr_request_','invent,new','total');"/>
		</td>
		<td align="center">
		    <input name="knowledge/orgkr_auth_invent" id="orgkr_auth_invent" type="text" 
		    class=" input_text maxlength:20 valueCompare:otherkr_auth_invent:orgkr_auth_invent" style="text-align:right;width:100px" 
		    value="<x:out select="$xmlData/data/knowledge/orgkr_auth_invent" />"   
		    onfocus="InitInput.setNumber(this,10,0,0)" label="单位的发明授权总数"
		    onchange="countNum('orgkr_auth_','invent,new','total');"/>
		</td>
		<td align="center">
		    <input name="knowledge/orgkr_request_new" id="orgkr_request_new" type="text" 
		    class=" input_text maxlength:20 valueCompare:otherkr_request_new:orgkr_request_new" style="text-align:right;width:100px" 
		    value="<x:out select="$xmlData/data/knowledge/orgkr_request_new" />"   
		    onfocus="InitInput.setNumber(this,10,0,0)" label="单位的实用新型申请总数"
		    onchange="countNum('orgkr_request_','invent,new','total');"/>
		</td>
		<td align="center">
		    <input name="knowledge/orgkr_auth_new" id="orgkr_auth_new" type="text" 
		    class=" input_text maxlength:20 valueCompare:otherkr_auth_new:orgkr_auth_new" style="text-align:right;width:100px" 
		    value="<x:out select="$xmlData/data/knowledge/orgkr_auth_new" />"   
		    onfocus="InitInput.setNumber(this,10,0,0)" label="单位的实用新型授权总数"
		    onchange="countNum('orgkr_auth_','invent,new','total');"/>
		</td>
		<td align="center">
		    <input name="knowledge/orgkr_soft" id="orgkr_soft" type="text" 
		    class=" input_text maxlength:20 valueCompare:otherkr_soft:orgkr_soft" style="text-align:right;width:100px" 
		    value="<x:out select="$xmlData/data/knowledge/orgkr_soft" />"   label="单位的软件版权总数" 
		    onfocus="InitInput.setNumber(this,10,0,0)"/>
		</td>
	</tr>
	<tr>
	    <td align="center">
		           其中：近三年
		</td>
		<td align="center">
		    <input name="knowledge/otherkr_request_total" type="text" id="otherkr_request_total"
		    class=" input_text maxlength:20 gray" style="text-align:right;width:100px"  disabled
		    value="<x:out select="$xmlData/data/knowledge/otherkr_request_total" />"   
		    onfocus="InitInput.setNumber(this,10,0,0)"/>
		</td>
		<td align="center">
		    <input name="knowledge/otherkr_auth_total" type="text" id="otherkr_auth_total"
		    class=" input_text maxlength:20 gray" style="text-align:right;width:100px"  disabled
		    value="<x:out select="$xmlData/data/knowledge/otherkr_auth_total" />"   
		    onfocus="InitInput.setNumber(this,10,0,0)"/>
		</td>
		<td align="center">
		    <input name="knowledge/otherkr_request_invent" type="text"  id="otherkr_request_invent"
		    class=" input_text maxlength:20" style="text-align:right;width:100px" 
		    value="<x:out select="$xmlData/data/knowledge/otherkr_request_invent" />"   
		    onfocus="InitInput.setNumber(this,10,0,0)" label="单位近三年的发明申请总数"
		    onchange="countNum('otherkr_request_','invent,new','total');"/>
		</td>
		<td align="center">
		    <input name="knowledge/otherkr_auth_invent" type="text" id="otherkr_auth_invent"
		    class=" input_text maxlength:20" style="text-align:right;width:100px" 
		    value="<x:out select="$xmlData/data/knowledge/otherkr_auth_invent" />"   
		    onfocus="InitInput.setNumber(this,10,0,0)" label="单位近三年的发明授权总数"
		    onchange="countNum('otherkr_auth_','invent,new','total');"/>
		</td>
		<td align="center">
		    <input name="knowledge/otherkr_request_new" type="text" id="otherkr_request_new"
		    class=" input_text maxlength:20" style="text-align:right;width:100px" 
		    value="<x:out select="$xmlData/data/knowledge/otherkr_request_new" />"   
		    onfocus="InitInput.setNumber(this,10,0,0)" label="单位近三年的实用新型申请总数"
		    onchange="countNum('otherkr_request_','invent,new','total');"/>
		</td>
		<td align="center">
		    <input name="knowledge/otherkr_auth_new" type="text" id="otherkr_auth_new"
		    class=" input_text maxlength:20" style="text-align:right;width:100px" 
		    value="<x:out select="$xmlData/data/knowledge/otherkr_auth_new" />"   
		    onfocus="InitInput.setNumber(this,10,0,0)"  label="单位近三年的实用新型授权总数"
		    onchange="countNum('otherkr_auth_','invent,new','total');"/>
		</td>
		<td align="center">
		    <input name="knowledge/otherkr_soft" type="text" id="otherkr_soft"
		    class="input_text maxlength:20" style="text-align:right;width:100px"  label="单位近三年的软件版权总数" 
		    value="<x:out select="$xmlData/data/knowledge/otherkr_soft" />"   
		    onfocus="InitInput.setNumber(this,10,0,0)"/>
		</td>
	</tr>
	<tr>
	    <td align="right">其它知识产权状况说明：<br/>（限500字）</td>
		<td colspan="7">
			<textarea id="brief" name="knowledge/brief" rows=7 cols=100 class="input_css maxlength:500"><x:out select="$xmlData/data/knowledge/brief" /></textarea>
		</td>
	</tr>
	<tr>
		<td colspan="8" class="t_bar"><span>项目技术及知识产权状况: （单位：项数）</span></td>
	</tr>
	<tr>
	    <td colspan="1">项目阶段</td>
	    <td colspan="3">
	        <!--
            <input id="zh_title" name="knowledge/prp_stage" label="项目阶段" type="text" 
					class="input_css required maxlength:50" style="width:150px;" maxlength="50" 
					value="<x:out select="$xmlData/data/knowledge/prp_stage" />" /> 
            -->		
		    <c:set var="project_stage_value"><x:out select="$xmlData/data/knowledge/project_stage_value" /></c:set>
			<input name="knowledge/project_stage_value" type="hidden" value="<x:out select="$xmlData/data/knowledge/project_stage_value" />" class="required " label="项目阶段"/>
			<input name="knowledge/project_stage_name" type="hidden" value="<x:out select="$xmlData/data/knowledge/project_stage_name" />" />
			<cpt:select id="project_stage" key="project_stage" onChange="initControlValue('project_stage')" value="${project_stage_value}" className='selectWidth1'></cpt:select> 
	    </td>
	    
	    
	    <td colspan="1">技术水平</td>
	    <td colspan="3">
	         <!-- 
	         <input id="zh_title" name="knowledge/level" label="技术水平" type="text" 
					class="input_css required maxlength:50"  style="width:150px;" maxlength="50" 
					value="<x:out select="$xmlData/data/knowledge/level" />" /> 
	          -->	
		    <c:set var="tech_level_value"><x:out select="$xmlData/data/knowledge/tech_level_value" /></c:set>
			<input name="knowledge/tech_level_value" type="hidden" value="<x:out select="$xmlData/data/knowledge/tech_level_value" />" class="required " label="技术水平"/>
			<input name="knowledge/tech_level_name" type="hidden" value="<x:out select="$xmlData/data/knowledge/tech_level_name" />" />
			<cpt:select id="tech_level" key="tech_level" onChange="initControlValue('tech_level')" value="${tech_level_value}" className='selectWidth1'></cpt:select> 
	    </td>
	 </tr>
	 <tr>
	    <td colspan="1">课题活动类型</td>
	    <td colspan="3" >
	        <!-- 
	        <input id="zh_title" name="knowledge/subject_type" label="课题活动类型" type="text" 
					class="input_css required maxlength:50"  style="width:100px;" maxlength="50" 
					value="<x:out select="$xmlData/data/knowledge/subject_type" />" /> 
	         -->	
			<c:set var="task_activity_type_value"><x:out select="$xmlData/data/knowledge/task_activity_type_value" /></c:set>
			<input name="knowledge/task_activity_type_value" type="hidden" value="<x:out select="$xmlData/data/knowledge/task_activity_type_value" />" class="required " label="课题活动类型"/>
			<input name="knowledge/task_activity_type_name" type="hidden" value="<x:out select="$xmlData/data/knowledge/task_activity_type_name" />" />
			<cpt:select id="task_activity_type" key="task_activity_type" onChange="initControlValue('task_activity_type')" value="${task_activity_type_value}" className='selectWidth1'></cpt:select> 		
	    </td>
	    <td colspan="1">技术来源</td>
	     <td colspan="3">
	        <!-- 
	        <input id="zh_title" name="knowledge/tech_source" label="技术来源" type="text" 
					class="input_css required maxlength:50" style="width:150px;" maxlength="50" 
					value="<x:out select="$xmlData/data/knowledge/tech_source" />" /> 
	         -->		
			<c:set var="tech_source_value"><x:out select="$xmlData/data/knowledge/tech_source_value" /></c:set>
			<input name="knowledge/tech_source_value" type="hidden" value="<x:out select="$xmlData/data/knowledge/tech_source_value" />" class="required " label="技术来源"/>
			<input name="knowledge/tech_source_name" type="hidden" value="<x:out select="$xmlData/data/knowledge/tech_source_name" />" />
			<cpt:select id="tech_source" key="tech_source" onChange="initControlValue('tech_source')" value="${tech_source_value}" className='selectWidth1'></cpt:select> 		
	    </td>
	</tr>
	<tr>
		<th rowspan="3" width="30%">项目已有知识产权状况
		&nbsp;</th>
		<th rowspan="2">专利申请总数</th>
		<th rowspan="2">专利授权总数</th>
		<th colspan="2">发明</th>
		<th colspan="2">实用新型</th>
		<th rowspan="2">软件版权</th>
	</tr>
	<tr>
	    <th>申请</th>
		<th>授权</th>
		<th>申请</th>
		<th>授权</th>
	</tr>
	<tr>
		<td align="center">
		    <input name="knowledge/has_request_total" type="text" id="has_request_total"
		    class=" input_text maxlength:20 gray" style="text-align:right;width:100px" disabled
		    value="<x:out select="$xmlData/data/knowledge/has_request_total" />"   
		    onfocus="InitInput.setNumber(this,10,0,0)"/>
		</td>
		<td align="center">
		    <input name="knowledge/has_auth_total" type="text" id="has_auth_total"
		    class=" input_text maxlength:20 gray" style="text-align:right;width:100px" disabled
		    value="<x:out select="$xmlData/data/knowledge/has_auth_total" />"   
		    onfocus="InitInput.setNumber(this,10,0,0)"/>
		</td>
		<td align="center">
		    <input name="knowledge/has_request_invent" type="text" id="has_request_invent"
		    class=" input_text maxlength:20" style="text-align:right;width:100px" 
		    value="<x:out select="$xmlData/data/knowledge/has_request_invent" />"   
		    onfocus="InitInput.setNumber(this,10,0,0)"
		    onchange="countNum('has_request_','invent,new','total');"/>
		</td>
		<td align="center">
		    <input name="knowledge/has_auth_invent" type="text" id="has_auth_invent"
		    class=" input_text maxlength:20" style="text-align:right;width:100px" 
		    value="<x:out select="$xmlData/data/knowledge/has_auth_invent" />"   
		    onfocus="InitInput.setNumber(this,10,0,0)"
		    onchange="countNum('has_auth_','invent,new','total');"/>
		</td>
		<td align="center">
		    <input name="knowledge/has_request_new" type="text" id="has_request_new"
		    class=" input_text maxlength:20" style="text-align:right;width:100px" 
		    value="<x:out select="$xmlData/data/knowledge/has_request_new" />"   
		    onfocus="InitInput.setNumber(this,10,0,0)"
		    onchange="countNum('has_request_','invent,new','total');"/>
		</td>
		<td align="center">
		    <input name="knowledge/has_auth_new" type="text" id="has_auth_new"
		    class=" input_text maxlength:20" style="text-align:right;width:100px" 
		    value="<x:out select="$xmlData/data/knowledge/has_auth_new" />"   
		    onfocus="InitInput.setNumber(this,10,0,0)"
		    onchange="countNum('has_auth_','invent,new','total');"/>
		</td>
		<td align="center">
		    <input name="knowledge/has_soft" type="text" id="has_soft"
		    class=" input_text maxlength:20" style="text-align:right;width:100px" 
		    value="<x:out select="$xmlData/data/knowledge/has_soft" />"   
		    onfocus="InitInput.setNumber(this,10,0,0)"/>
		</td>
	</tr>
	<tr>
	    <td align="right">其它需要说明的问题：<br/>（限500字）</td>
		<td colspan="7">
			<textarea id="brief" name="knowledge/problem" class="input_css maxlength:500" rows=7 cols=100><x:out select="$xmlData/data/knowledge/problem" /></textarea>
		</td>
	</tr>
	<tr>
		<td colspan="8" class="t_bar"><span>本项目完成后获取技术成果预测：（单位：项数）</span></td>
	</tr>
	<tr>
	    <th colspan="2">成果形式</th>
		<th colspan="2">成果数量</th>
		<th colspan="2">成果形式</th>
		<th colspan="2">成果数量</th>
	</tr>
	<tr>
	    <td rowspan="2" align="center">发明专利</td>
	    <td align="center">申请</td>
	    <td colspan="2" align="center">
	        <input name="knowledge/result_request_invent" type="text" class=" input_text maxlength:20" style="text-align:right;width:100px" value="<x:out select="$xmlData/data/knowledge/result_request_invent" />"   onfocus="InitInput.setNumber(this,10,0,0)"/>
		</td>
	    <td colspan="2" align="center">新产品</td>
	    <td colspan="2" align="center">
	        <input name="knowledge/result_newproduct_invent" type="text" class=" input_text maxlength:20" style="text-align:right;width:100px" value="<x:out select="$xmlData/data/knowledge/result_newproduct_invent" />"   onfocus="InitInput.setNumber(this,10,0,0)"/>
		</td>
	</tr>
	<tr>
	    <td align="center">授权</td>
	    <td colspan="2" align="center">
	        <input name="knowledge/result_auth_invent" type="text" class=" input_text maxlength:20" style="text-align:right;width:100px" value="<x:out select="$xmlData/data/knowledge/result_auth_invent" />"   onfocus="InitInput.setNumber(this,10,0,0)"/>
		</td>
	    <td colspan="2" align="center">新材料</td>
	    <td colspan="2" align="center">
	        <input name="knowledge/result_newmaterial_invent" type="text" class=" input_text maxlength:20" style="text-align:right;width:100px" value="<x:out select="$xmlData/data/knowledge/result_newmaterial_invent" />"   onfocus="InitInput.setNumber(this,10,0,0)"/>
		</td>
	</tr>
	<tr>
	    <td rowspan="2" align="center">实用新型专利</td>
	    <td align="center">申请</td>
	    <td colspan="2" align="center">
	        <input name="knowledge/result_request_new" type="text" class=" input_text maxlength:20" style="text-align:right;width:100px" value="<x:out select="$xmlData/data/knowledge/result_request_new" />"   onfocus="InitInput.setNumber(this,10,0,0)"/>
		</td>
	    <td colspan="2" align="center">新装备</td>
	    <td colspan="2" align="center">
	        <input name="knowledge/result_newequipment_new" type="text" class=" input_text maxlength:20" style="text-align:right;width:100px" value="<x:out select="$xmlData/data/knowledge/result_newequipment_new" />"   onfocus="InitInput.setNumber(this,10,0,0)"/>
		</td>
	</tr>
	<tr>
	    <td align="center">授权</td>
	    <td colspan="2" align="center">
	        <input name="knowledge/result_auth_new" type="text" class=" input_text maxlength:20" style="text-align:right;width:100px" value="<x:out select="$xmlData/data/knowledge/result_auth_new" />"   onfocus="InitInput.setNumber(this,10,0,0)"/>
		</td>
	    <td colspan="2" align="center">计算机软件</td>
	    <td colspan="2" align="center">
	        <input name="knowledge/result_software_new" type="text" class=" input_text maxlength:20" style="text-align:right;width:100px" value="<x:out select="$xmlData/data/knowledge/result_software_new" />"   onfocus="InitInput.setNumber(this,10,0,0)"/>
		</td>
	</tr>
	
	<tr>
	    <td rowspan="2" align="center">外观设计专利</td>
	    <td align="center">外观设计</td>
	    <td colspan="2" align="center">
	        <input name="knowledge/result_exterior_design" type="text" class=" input_text maxlength:20" style="text-align:right;width:100px" value="<x:out select="$xmlData/data/knowledge/result_exterior_design" />"   onfocus="InitInput.setNumber(this,10,0,0)"/>
		</td>
	    <td colspan="2" align="center">论文论著</td>
	    <td colspan="2" align="center">
	        <input name="knowledge/result_paper_design" type="text" class=" input_text maxlength:20" style="text-align:right;width:100px" value="<x:out select="$xmlData/data/knowledge/result_paper_design" />"   onfocus="InitInput.setNumber(this,10,0,0)"/>
		</td>
	</tr>
	<tr>
	    <td align="center">专利</td>
	    <td colspan="2" align="center">
	        <input name="knowledge/result_patent_design" type="text" class=" input_text maxlength:20" style="text-align:right;width:100px" value="<x:out select="$xmlData/data/knowledge/result_patent_design" />"   onfocus="InitInput.setNumber(this,10,0,0)"/>
		</td>
	    <td colspan="2" align="center">技术标准</td>
	    <td colspan="2" align="center">
	        <input name="knowledge/result_standard_design" type="text" class=" input_text maxlength:20" style="text-align:right;width:100px" value="<x:out select="$xmlData/data/knowledge/result_standard_design" />"   onfocus="InitInput.setNumber(this,10,0,0)"/>
		</td>
	</tr>
	<tr>
	    <td align="center" colspan="2">国外专利</td>
	    <td colspan="2" align="center">
	        <input name="knowledge/guowei_patent" type="text" class=" input_text maxlength:20" style="text-align:right;width:100px" value="<x:out select="$xmlData/data/knowledge/guowei_patent" />"   onfocus="InitInput.setNumber(this,10,0,0)"/>
		</td>
	    <td colspan="2" align="center">其它1</td>
	    <td colspan="2" align="center">
	        <input name="knowledge/other1" type="text" class=" input_text maxlength:20" style="text-align:right;width:100px" value="<x:out select="$xmlData/data/knowledge/other1" />"   onfocus="InitInput.setNumber(this,10,0,0)"/>
		</td>
	</tr>
	<tr>
	    <td align="center" colspan="2">新工艺（或新方法、新模式）</td>
	    <td colspan="2" align="center">
	        <input name="knowledge/new_work" type="text" class=" input_text maxlength:20" style="text-align:right;width:100px" value="<x:out select="$xmlData/data/knowledge/new_work" />"   onfocus="InitInput.setNumber(this,10,0,0)"/>
		</td>
	    <td colspan="2" align="center">其它2</td>
	    <td colspan="2" align="center">
	        <input name="knowledge/other2" type="text" class=" input_text maxlength:20" style="text-align:right;width:100px" value="<x:out select="$xmlData/data/knowledge/other2" />"   onfocus="InitInput.setNumber(this,10,0,0)"/>
		</td>
	</tr>
	
</table>
<script type="text/javascript">
$(function(){
	$("#prpInfo tr:even").addClass("li_1");
    $("#prpInfo tr:odd").addClass("li_2");
});

</script>